package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仪器 历史数据初始化到此，CC有新仪器同步到此对象 st_instrument_info
 * 
 * @author shihx
 * @date 2020-03-05
 */
@ApiModel(value="InstrumentInfo",description="仪器 历史数据初始化到此，CC有新仪器同步到此对象") // 用来描述封装的参数对象与返回的参数对象
@JsonInclude(JsonInclude.Include.NON_NULL)
public class InstrumentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键ID",name="id",required = true,dataType="Long",example="主键ID")
    private Long id;

    /** 仪器 ID */
    @Excel(name = "仪器 ID")
    @ApiModelProperty(value = "仪器 ID",name="instrumentId",required = true,dataType="String",example="仪器 ID")
    private String instrumentId;

    /** Fse id */
    @Excel(name = "Fse id")
    @ApiModelProperty(value = "Fse id",name="accoutfseId",required = true,dataType="String",example="Fse id")
    private String accoutfseId;

    /** Account FSE工程师名称 */
    @Excel(name = "Account FSE工程师名称")
    @ApiModelProperty(value = "Account FSE工程师名称",name="accoutfseName",required = true,dataType="String",example="Account FSE工程师名称")
    private String accoutfseName;

    /** 序列号 */
    @Excel(name = "序列号")
    @ApiModelProperty(value = "序列号",name="instSn",required = true,dataType="String",example="序列号")
    private String instSn;

    /** 经度decimal(10,7) */
    @Excel(name = "经度decimal(10,7)")
    @ApiModelProperty(value = "经度",name="longitude",required = true,dataType="Double",example="经度")
    private Double longitude;

    /** 纬度decimal(10,7) */
    @Excel(name = "纬度decimal(10,7)")
    @ApiModelProperty(value = "纬度",name="latitude",required = true,dataType="Double",example="纬度")
    private Double latitude;

    /** 仪器安装地址 */
    @Excel(name = "仪器安装地址")
    @ApiModelProperty(value = "仪器安装地址",name="instAddress",required = true,dataType="String",example="仪器安装地址")
    private String instAddress;

    /** 二维码Code */
    @Excel(name = "二维码Code")
    @ApiModelProperty(value = "二维码Code",name="qrCode",required = true,dataType="String",example="二维码Code")
    private String qrCode;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）",name="delFlag",required = true,dataType="String",example="删除标志（0代表存在 2代表删除）")
    private String delFlag;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInstrumentId(String instrumentId) 
    {
        this.instrumentId = instrumentId;
    }

    public String getInstrumentId() 
    {
        return instrumentId;
    }
    public void setAccoutfseId(String accoutfseId) 
    {
        this.accoutfseId = accoutfseId;
    }

    public String getAccoutfseId() 
    {
        return accoutfseId;
    }
    public void setAccoutfseName(String accoutfseName) 
    {
        this.accoutfseName = accoutfseName;
    }

    public String getAccoutfseName() 
    {
        return accoutfseName;
    }
    public void setInstSn(String instSn) 
    {
        this.instSn = instSn;
    }

    public String getInstSn() 
    {
        return instSn;
    }
    public void setLongitude(Double longitude) 
    {
        this.longitude = longitude;
    }

    public Double getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(Double latitude) 
    {
        this.latitude = latitude;
    }

    public Double getLatitude() 
    {
        return latitude;
    }
    public void setInstAddress(String instAddress) 
    {
        this.instAddress = instAddress;
    }

    public String getInstAddress() 
    {
        return instAddress;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("instrumentId", getInstrumentId())
            .append("accoutfseId", getAccoutfseId())
            .append("accoutfseName", getAccoutfseName())
            .append("instSn", getInstSn())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("instAddress", getInstAddress())
            .append("qrCode", getQrCode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
